/*
 * Copyright (c) 2010-2011 Plugger Antonio Begue Ponce. All Rights Reserved.
 *
 * This file is part of Plugger Framework.
 *
 *  Plugger Framework is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU Lesser General Public License version 3 as published by
 *  the Free Software Foundation.
 *
 *  Plugger Framework is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public License
 *  along with Plugger Framework.  If not, see <http://www.gnu.org/licenses/>.
 */

package org.plugger.data;

/**
 * A configuration object for the o/r mapper service.
 *
 * @author Antonio Begue
 * @version $Revision: 1.0 $
 *
 * @see     DataConfiguration
 */
public class MapperParameters {
    private String driverClass;
    private String dialect;
    private String provider;
    private String isolation;
    private String releaseMode;
    private String defaultSchema;
    private String proxyFactory;

    public MapperParameters() {
    }

    public MapperParameters(String driverClass, String dialect, String provider, String isolation, String releaseMode, String defaultSchema, String proxyFactory) {
        this.driverClass = driverClass;
        this.dialect = dialect;
        this.provider = provider;
        this.isolation = isolation;
        this.releaseMode = releaseMode;
        this.defaultSchema = defaultSchema;
        this.proxyFactory = proxyFactory;
    }
    
    public String getDriverClass() {
		return driverClass;
	}

	public void setDriverClass(String driverClass) {
		this.driverClass = driverClass;
	}

	public String getDialect() {
		return dialect;
	}

	public void setDialect(String dialect) {
		this.dialect = dialect;
	}

	public String getProvider() {
		return provider;
	}

	public void setProvider(String provider) {
		this.provider = provider;
	}

	public String getIsolation() {
		return isolation;
	}

	public void setIsolation(String isolation) {
		this.isolation = isolation;
	}

	public String getReleaseMode() {
		return releaseMode;
	}

	public void setReleaseMode(String releaseMode) {
		this.releaseMode = releaseMode;
	}

	public String getDefaultSchema() {
		return defaultSchema;
	}

	public void setDefaultSchema(String defaultSchema) {
		this.defaultSchema = defaultSchema;
	}

	public String getProxyFactory() {
		return proxyFactory;
	}

	public void setProxyFactory(String proxyFactory) {
		this.proxyFactory = proxyFactory;
	}
}
